<?php
require_once 'framework/AuthSingleton.php';

$auth = AuthSingleton::instance('AUTH_USER');
$auth->start();

if( !$auth->getAuth() ) 
{
    //No access
    die();
} 
if(isset($_GET['logout']))
{
    $auth->logout();
}
?>
